<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<ul class="set_item" ng-include="'html/component/left_nav.html'" ng-controller="MyAccountCtrl">
</ul>
<div class="set_box">
    <h1 class="set_title"><!--个人信息-->{{language.TIPS_PERSON_ALDETIALS}}<span class="title_btn_group">
            <span class="title_btn" ng-show="!personInfo.test" ng-click="submitEdit(personInfo)"><!--编辑-->{{language.TIPS_REDACT}}</span>
            <span class="title_btn" ng-show="personInfo.test" ng-click="submitEdit(personInfo)"><!--保存-->{{language.TIPS_SAVE}}</span></span> </h1>
    <div class="set_cont myaccount">
        <div class="info_table_wrap">
            <table class="info_table">
                <tbody>
                    <tr>
                        <td class="account_head" rowspan="4"><a class="headimg" href="javascript:void(0)" ng-click="setPicture();"><img src={{user_img}} width="100%" height="100%" /></a>
                            <p class="username" ng-show="personInfo.UserCode == 000"><!--超级管理员-->{{language.TIPS_SUPER_ADMINE}}</p>
                            <p class="username" ng-show="personInfo.UserManage == 1"><!--店长-->{{language.TIPS_SHOP_MANGER}}</p>
                            <p class="username" ng-show="personInfo.UserManage == 0"><!--店员-->{{language.TIPS_SHOP_ASSISTANT}}</p>
                        </td>
                        <td><label><!--工号-->{{language.TIPS_JOB_NUMBER}}：</label>
                            <input type="text" readonly ng-model="personInfo.PersonCode"/></td>
                    </tr>
                    <tr>
                        <td>
                            <label><!--姓名-->{{language.TIPS_NAME}}：</label>
                            <input type="text" ng-readonly="!personInfo.test" required ng-model="personInfo.PersonName"/>
                        </td>
                    </tr>
                    <tr>
                        <td><label><!--电话-->{{language.TIPS_PHPNE_CALL}}：</label>
                            <input type="text" ng-readonly="!personInfo.test" required ng-pattern="/^(0|86|17951)?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/" ng-model="personInfo.PersonTel"/></td>
                    </tr>
                    <tr>
                        <td><label><!--状态-->{{language.TIPS_STATUS}}：</label>
                            <span class="state"><!--启用-->{{language.TIPS_START_USING}}</span></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>

